<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<table align="left">
<td><a href="/seoul-javas/index.jsp"><img src="../images/m.png"></a></td>
</table>
<!-- 로그인 체크 -->
<c:if test="${empty userId}">
<div align="right">
	<a href="../login.do"><img src="../images/1.png" alt="" width="49" height="22" border="0" name=""></a>
	<a href="../memberJoin.do"><img src="../images/2.png" alt="" width="49" height="22" border="0" name=""></a>	
</div>
</c:if>

<c:if test="${!empty userId}">

<div align="right">
${userId }님 방가방가
	<br/>
	<!-- <a href=""><img src="../images/4.jpg" alt="" width="45" height="13" border="0" name=""></a>
	<a href=""><img src="../images/5.jpg" alt="" width="56" height="13" border="0" name=""></a>
	<a href="../logout.do"><img src="../images/out.gif" alt="" width="56" height="13" border="0" name=""></a> -->
	
	<c:if test="${userId == 'admin' }">
	<a href="" ><img src="../images/3.png" alt="" width="49" height="22" border="0" name=""></a>
	<a href=""><img src="../images/4.png" alt="" width="49" height="22" border="0" name=""></a>
	<a href="../shop/myInfo.do"><img src="../images/5.png" alt="" width="49" height="22" border="0" name=""></a>
	<a href="../logout.do"><img src="../images/out.png" alt="" width="49" height="22" border="0" name=""></a>
	</c:if>
	<c:if test="${userId != 'admin' }">

	<a href="../shop/myInfo.do"><img src="../images/5.png" alt="" width="49" height="22" border="0" name=""></a>
	<a href="../logout.do"><img src="../images/out.png" alt="" width="49" height="22" border="0" name=""></a>

	</c:if>
</div>
</c:if>

		